package com.eco.dao.ds3;

import com.eco.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {
    int addByUser(User paramUser);

    int updateByUser(User paramUser);

    User findByUsernameAndPassword(@Param("usercode") String paramString1, @Param("password") String paramString2);

    User findByUserIdAndUsername(@Param("userId") Integer paramInteger, @Param("username") String paramString);

    User findByUsername(@Param("usercode") String paramString);
}
